package com.onec.service.service;


import com.onec.service.customer.entity.agent.AgentBusiness;
import com.onec.service.customer.entity.agent.AgentInfo;
import com.onec.service.customer.entity.agent.AgentKey;

/**
 * 机构信息处理：
 *
 * @author onec
 */
public interface AgentInfoService {

    /**
     * @param agentCode
     * @return
     */
    AgentInfo getAgentInfo(String agentCode);

    /**
     * @param agentCode
     * @return
     */
    AgentInfo getAvailableAgent(String agentCode);

    /**
     * @param agentId
     * @return
     */
    AgentKey getAgentKey(long agentId);

    /**
     * @param agentId
     * @param businessNo
     * @return
     */
    AgentBusiness getAgentBus(long agentId, String businessNo);

    /**
     * @param agentId
     * @param businessNo
     * @return
     */
    AgentBusiness getAvailableAgentBus(long agentId, String businessNo);
}
